﻿using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using WebApplication3.Domain.Entity;

namespace WebApplication3.Domain
{
    public class Admin4000DbContext :DbContext 
    {
        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
        {
            optionsBuilder.UseSqlServer("server=.;database=Admin4000;uid=sa;pwd=123456");
        }
        public DbSet<Proudct> Proudcts { get; set; }
        public  DbSet<Brand> Brand { get; set; }
    }
}
